class OptimizerDP():
"""A class to query data from the Optimizer data pipeline"""
def __init__(self, job_name, job_id, config_path):
"""Two fields are needed to query data: the job name and the job ID.
The job name is `filename` in the Optimizer dashboard. The ID is found by
clicking on the Aperature page and copying the last part of the URL.
Parameters
----------
job_name: str
The `filename` in the Optimizer dashboard.
job_id: str
The last part of Aperature page URL
config_path: path-like
Path to project configuration yaml file
"""
x="o_interceptorsurcharge"
y="o_csos_flooding_mg"
size='o_cost'
color="name"
fig = compare_paretos(x, y, size, color, xs='Local Control')
fig.show()
x="o_interceptorsurcharge"
y="o_csos_flooding_mg"
size='o_cost'
color="name"
fig = compare_paretos(x, y, size, color)
fig.show()
x="o_interceptorsurcharge"
y="o_csos_flooding_mg"
size='N_weir'
color="max_weir_height"
fig = compare_paretos(x, y, size, color)
fig.show()
x="o_interceptorsurcharge"
y="o_csos_flooding_mg"
color="N_decisions_str"
fig = compare_memebers(x=x, y=y, color=color)
fig.show()